package com.xd.server.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xd.server.student.dto.StudentDTO;
import com.xd.server.student.po.StudentPO;
import com.xd.server.student.vo.StudentVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Student)表数据库访问层
 *
 * @author XD
 * @since 2023-10-10 09:04:04
 */
@Mapper
public interface IStudentMapper extends BaseMapper<StudentPO> {

    /**
     * 分页查询
     *
     * @param student 实例对象
     * @return
     */
    List<StudentVO> findAll(Page<StudentVO> page, @Param("params") StudentDTO student);


}

